import styled from 'styled-components'; // 引入
//
export const HeaderWrapper = styled.div`
  height: 70px;
  width: 100%;
  background-color: #242424;
  .divide {
    background-color: #c20c0c;
    height: 5px;
  }
`;
export const HeaderWrapperContent = styled.div`
  display: flex;
  align-items: center;
  .logo {
    display: block;
    width: 177px;
    height: 69px;
    background-position: 0 0;
    text-indent: -9999px;
  }
  .titles {
    display: flex;
    align-items: center;
    .item {
      a {
        display: block;
        line-height: 70px;
        font-size: 14px;
        height: 70px;
        font-style: normal;
        color: #ccc;
        padding: 0 19px;
        &:hover {
          text-decoration: none;
          color: #fff;
          background-color: #000;
        }
      }
      .active {
        text-decoration: none;
        color: #fff;
        background-color: #000;
      }
      .active .selected {
        width: 12px;
        height: 7px;
        background-position: -226px 1px;
        margin-left: 50%;
        transform: translate(-50%, -100%);
        overflow: hidden;
        color: #000;
      }
    }
  }
  .search {
    width: 158px;
    height: 32px;
    border-radius: 32px;
    line-height: 32px;
    margin-left: 10px;
    & ::placeholder {
      font-size: 12px;
      color: gray;
    }
    .icon {
      color: gray;
      font-size: 16px;
      margin-left: -2px;
    }
  }
  .button {
    height: 32px;
    width: 90px;
    line-height: 32px;
    padding-left: 15px;
    margin: 0 19px;
    box-sizing: border-box;
    background-color: transparent;
    font-size: 12px;
    color: #cccccc;
    border: 1px solid #4f4f4f;
    border-radius: 32px;
    &:hover {
      color: #fff;
      text-decoration: none;
      border-color: #fff;
    }
  }
  .login {
    cursor: pointer;
    &:hover {
      text-decoration: none;
      color: #929292;
    }
  }
`;
export const HeaderWrapperRight = styled.div``;
